<lv-datatable [lvData]='data' lvSort (lvSortChange)='sortData($event)' #lvTable>
  <thead>
    <tr>
      <th lvShowSort lvCellKey='id'>Id</th>
      <th lvCellKey='name'>Name</th>
      <th lvCellKey='number'>Number</th>
    </tr>
  </thead>
  <tbody>
    <ng-container *ngFor='let item of lvTable.renderData'>
      <tr>
        <td>{{item.id}}</td>
        <td>{{item.name}}</td>
        <td>{{item.number}}</td>
      </tr>
    </ng-container>
  </tbody>
</lv-datatable>